import Vue from 'vue'
import App from './App.vue'
import store from './store/store'
import routers from './router/router'
import axios from 'axios'
import 'babel-polyfill'

import iView from 'iview'
import 'iview/dist/styles/iview.css'
Vue.use(iView);


Vue.config.productionTip = false;
Vue.prototype.ajax=axios;

new Vue({
  router:routers,
  store,
  template: '<App/>',
  components: {App},
  watch:{
    // $route:'checkLogin'
  },
  created() {
    // this.checkLogin();
  },
  methods:{
    checkLogin(){

    }
  }
}).$mount('#app');
